angular 使用httpclient服務 1.使用http服務 要在新建的服務中進行一次聲明 import {HttpClient,HttpHeaders} from '@angular/common/http'; ...